package com.team.engine.permission.dao;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

import com.team.engine.basedao.BaseEntity;

/**
 * 角色，表实体
 * @author MengLH
 * @data 2010-8-4
 */
@Entity
@Table(name="t_role")
public class TRole extends BaseEntity {

	/**
	 * 角色Id
	 */
	@Id
	@Column(name="module_id", unique=true)
	private int role_id;
	
	/**
	 * 名称
	 */
	@Column
	private String name;
	
	/**
	 * 说明
	 */
	@Column
	private int explain;

	public int getRole_id() {
		return role_id;
	}

	public void setRole_id(int roleId) {
		role_id = roleId;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public int getExplain() {
		return explain;
	}

	public void setExplain(int explain) {
		this.explain = explain;
	}
}
